<%-- 
    Document   : aulaForm
    Created on : 21/08/2011, 17:06:20
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>

<div align="center">
    <p>Aula</p>
    <mtw:form method="post" action="${formAction}">
        <mtw:input type="hidden" name="id" id="id"/>

        <table>
            <tr>
                <td>Título</td>
                <td><mtw:input type="text" name="titulo" id="titulo" size="50"/></td>
            </tr>
            <tr>
                <td>Descrição</td>
                <td><mtw:textarea name="descricao" id="descricao" rows="5" cols="100"/></td>
            </tr>
            <tr>
                <td>Data</td>
                <td><mtw:inputDate name="data" id="data" size="0" maxlength="10"/></td>
            </tr>
            <tr>
                <td>Turma</td>
                <td><mtw:select name="turmaId" id="turmaId" list="turmaOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0"/></td>
            </tr>

            <tr>
                <td><mtw:submit value="Confirmar"/></td>

                <td><input type="button" value="Cancelar" onclick="location. href='AulaRead.mtw'"/></td>
            </tr>

        </table>
    </mtw:form>
</div>